﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using BaseData.Exts;
using BaseData.HelperEzui;

namespace BaseData.App
{
    public class ModelsIndex
    {
        public static List<Accordion> Init()
        {
            var temp = new List<Accordion>
                {
                    //  10.信息中心
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10, pId = 0, SortId = 1, text = "信息中心", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 1010, pId = 10, SortId = 0, text = "新闻中心", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 101010, pId = 1010, text = "全站新闻", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 10101010, pId = 101010, text = "内容管理", url = "../Html/Acc/Staff/NewsAdminInfoList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 10101011, pId = 101010, text = "节点管理", url = "../Html/Acc/Staff/NewsAdminNodeList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 101011, pId = 1010, text = "全站专题", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 10101110, pId = 101011, text = "内容管理", url = "../Html/Acc/Staff/NewsAdminInfoList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 10101111, pId = 101011, text = "节点管理", url = "../Html/Acc/Staff/NewsAdminNodeList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 101012, pId = 1010, text = "内容重构", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 10101211, pId = 101012, text = "内容重构", url = "../Html/Acc/Staff/NewsAdminGroupInfoList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 10101213, pId = 101012, text = "节点重构", url = "../Html/Acc/Staff/NewsAdminGroupNodeList.html", },
                    // 消息中心
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 1011, pId = 10, SortId = 2, text ="内部消息", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, }, id = 101110, pId = 1011, text = "通知公告", url = "../Html/Acc/Staff/ShowNoticeList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, }, id = 101111, pId = 1011, text = "内部留言", url = "../Html/Acc/Staff/ShowMessageList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, }, id = 101112, pId = 1011, text = "外部邮件", url = "../Html/Acc/Staff/ShowMailList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, }, id = 101113, pId = 1011, text = "短信平台", url = "../Html/Acc/Staff/ShowSmsList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 101114, pId = 1011, text = "通知公告管理", url = "../Html/Acc/Staff/ShowNoticeAdminList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 101115, pId = 1011, text = "内部留言管理", url = "../Html/Acc/Staff/ShowMessageAdminList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 101116, pId = 1011, text = "外部邮件管理", url = "../Html/Acc/Staff/ShowMailAdminList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 101117, pId = 1011, text = "短信平台管理", url = "../Html/Acc/Staff/ShowSmsAdminList.html", },
                    
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 1012, pId = 10, SortId = 1, text = "功能模块", },
                    //  20.资源管理
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 101210, pId = 1012, SortId = 1, text = "资源管理", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121010, pId = 101210, SortId = 1, text = "文件管理", url = "../Html/Acc/Staff/ResxAttachedFolder.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121011, pId = 101210, SortId = 2, text = "模板管理", url = "../Html/Acc/Staff/ResxTemplateFolder.html", },

                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 101211, pId = 1012, SortId = 1, text = "信息交互", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121111, pId = 101211, SortId = 1, text = "评论管理", url = "../Html/Acc/Staff/BookAdminInfoList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121112, pId = 101211, SortId = 2, text = "表情管理", url = "../Html/Acc/Staff/BookAdminInfoList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121113, pId = 101211, SortId = 3, text = "得赞管理", url = "../Html/Acc/Staff/BookAdminInfoList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121114, pId = 101211, SortId = 4, text = "调查管理", url = "../Html/Acc/Staff/BookAdminInfoList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121115, pId = 101211, SortId = 5, text = "投票管理", url = "../Html/Acc/Staff/BookAdminInfoList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121116, pId = 101211, SortId = 6, text = "辩方管理", url = "../Html/Acc/Staff/BookAdminInfoList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121117, pId = 101211, SortId = 7, text = "参数管理", url = "../Html/Acc/Staff/BookAdminParaList.html", },
                    
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 101212, pId = 1012, SortId = 2, text = "评论管理", Display = false, },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121211, pId = 101212, SortId = 1, text = "评论列表", url = "../Html/Acc/Staff/ShowNoticeList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121212, pId = 101212, SortId = 2, text = "表情列表", url = "../Html/Acc/Staff/ShowNoticeList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121213, pId = 101212, SortId = 3, text = "评论参数管理", url = "../Html/Acc/Staff/ShowNoticeList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121214, pId = 101212, SortId = 4, text = "表情参数管理", url = "../Html/Acc/Staff/ShowNoticeList.html", },
                    
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 101213, pId = 1012, SortId = 6, text = "广告管理", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121310, pId = 101213, SortId = 1, text = "广告内容", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121311, pId = 101213, SortId = 2, text = "广告节点", },

                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 101215, pId = 1012, SortId = 7, text = "杂项管理", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121511, pId = 101215, SortId = 1, text = "友情链接", url = "../Html/Acc/Staff/WebSiteLinkList.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 10121512, pId = 101215, SortId = 2, text = "网站信息", url = "../Html/Acc/Staff/WebSiteInfoList.html", },

                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, Display = true, id = 30, pId = 0, SortId = 6, text = "政府信息公开", },
                    //  60.商务中心
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, Display = true, id = 20, pId = 0, SortId = 7, text = "社区论坛", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 2010, pId = 20, text = "论坛管理", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 201010, pId = 2010, text = "论坛节点管理", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 201010, pId = 2010, text = "论坛内容管理", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 2011, pId = 20, text = "会员管理", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 2012, pId = 20, text = "交友管理", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 2013, pId = 20, text = "交友资料", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, Display = true, id = 40, pId = 0, SortId = 8, text = "政务互动", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, Display = true, id = 50, pId = 0, SortId = 9, text = "博客微博", },
                    //  60.商务中心
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, Display = true, id = 60, pId = 0, SortId = 10, text = "产品商城", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 6010, pId = 60, text = "购物中心", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 601010, pId = 6010, text = "商品节点", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 601011, pId = 6010, text = "商品管理", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 601012, pId = 6010, text = "订单管理", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 601013, pId = 6010, text = "公告管理", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 601014, pId = 6010, text = "幻灯片管理", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, }, id = 601015, pId = 6010, text = "我的订单", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, }, id = 601016, pId = 6010, text = "我的购物车", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, }, id = 601017, pId = 6010, text = "历史查看", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, }, id = 601018, pId = 6010, text = "商品收藏", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, Display = true, id = 6011, pId = 60, text = "商学院", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 601110, pId = 6011, text = "视频节点管理", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 601111, pId = 6011, text = "视频内容管理", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 601112, pId = 6011, text = "培训节点管理", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 601113, pId = 6011, text = "培训内容管理", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, }, id = 601114, pId = 6011, text = "视频学习【慈】", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, }, id = 601115, pId = 6011, text = "培训内容【慈】", url = "../html/App/testcomm.html", },
                    //  30.安全管理
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, Display = true, id = 70, pId = 0, SortId = 11, text = "统计分析", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, Display = true, id = 70, pId = 0, SortId = 12, text = "安全中心", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 7010, pId = 70, text = "个人管理", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 701010, pId = 7010, text = "安全管理", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 701011, pId = 7010, text = "密码修改", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 701012, pId = 7010, text = "资料修改", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 701013, pId = 7010, text = "银行帐号修改", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 701014, pId = 7010, text = "通信地址修改", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 7011, pId = 70, text = "日志管理", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 701110, pId = 7011, text = "登录日志", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 701111, pId = 7011, text = "操作日志", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 701112, pId = 7011, text = "访问日志", },
                    //  40.系统配置
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, Display = true, id = 80, pId = 0, SortId = 13, text = "配置中心", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 8010, pId = 80, text = "算法配置", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 8011, pId = 80, SortId = 4, text = "系统配置", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 801111, pId = 8011, text = "操作员管理", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 801112, pId = 8011, text = "短信网关", url = "../html/App/testcomm.html", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.Staff, }, id = 801113, pId = 8011, text = "SMTP", url = "../html/App/testcomm.html", },
                    //  90.系统帮助
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, Display = true, id = 90, pId = 0, SortId = 14, text = "服务中心", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 9010, pId = 90, text = "帮助文档", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 901010, pId = 9010, text = "1", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 901011, pId = 9010, text = "2", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 901012, pId = 9010, text = "3", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 9011, pId = 90, text = "常见问题【慈】", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 901110, pId = 9011, text = "1", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 901111, pId = 9011, text = "2", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 901112, pId = 9011, text = "3", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 9012, pId = 90, text = "常见问题【团贷】", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 901210, pId = 9012, text = "1", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 901211, pId = 9012, text = "2", },
                    new Accordion {  list = new List<Enums.AccType>{ Enums.AccType.User, Enums.AccType.Staff, }, id = 901212, pId = 9012, text = "3", },
                };
            return temp;
        }
    }
}
